package com.luboyan.CBillbill.dao.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * 存放用户登录的信息
 */
@Data
public class User {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String phone;

    private String email;

    private String password;

    private String salt;

    private Date createTime;

    private Date updateTime;

    @TableField(exist = false)
    private UserInfo userInfo;
}
